package io.renren.modules.generator.dao;

import io.renren.modules.generator.entity.OrderDetailEntity;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
        import java.util.Map;

/**
 * 
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-12-12 09:53:09
 */
@Mapper
public interface OrderDetailDao extends BaseMapper<OrderDetailEntity> {

    List<OrderDetailEntity> queryPage(Map<String, Object> params);

    int queryPageTotal(Map<String, Object> params);

    List<OrderDetailEntity> queryDetailByOrderId(@Param("orderId") Integer orderId);
}
